const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6ImFmZWIyMDRlODJkODMzNTYwMTgyZDhkMTRiNjkwNDlmIiwidXNlcl9uYW1lIjoibHVvZ3VvaG9uZyIsInNjb3BlIjpbInJlYWQiXSwibW9iaWxlIjpmYWxzZSwiaXNBZG1pbiI6dHJ1ZSwiZXhwIjoxNjk5MDI4MTQ4LCJpc0FwcEFkbWluIjpmYWxzZSwiYXV0aG9yaXRpZXMiOlsiVVNFUiIsIkFVVEhfU1lTVEVNX01BTkFHRSJdLCJqdGkiOiJkMmQ0MTNlOS1hMjBkLTQ3MGQtYTEzZS0zNDMwN2Q4NDdmYWEiLCJjbGllbnRfaWQiOiJhcGkifQ.mKI7apJ4bjwXk8tobNjBVq2XD6glj7EQfdg_TXW4bwken63_B96sR11MoLeDGPXHALAj7WRXsBj6wu-oiyzIB_NjxFWVOP5bbYCBS8rKXEjAEk0hmXpeM-2SimN9KR4qBjNCcjat_aHxco-nDrO-L4G53-500pViXxrMyv0WHA0'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
